package com.app.service.adapter;

import android.app.Activity;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

public abstract class DataAdapter extends BaseAdapter {
	Activity parentActivity;
	public DataAdapter(Activity parentActivity) {
		this.parentActivity = parentActivity;
	}

	@Override
	public abstract int getCount();

	@Override
	public Object getItem(int position) {
		return position;
	}

	@Override
	public long getItemId(int position) {
		return 0;
	}

	@Override
	public abstract View getView(int position, View convertView, ViewGroup parent);
}
